package com.gfv.facturas.comandos;

import com.gfv.comunes.Hash;

/**
 * @author naveenb
 * LoginCommand for Login Controller. 
 */

public class LoginCommand {
	private String userId;
	private String password;
	private int id;
	
	public LoginCommand(){
		id=-1;
	}
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = Hash.encriptar(password);
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
}
